<template>
  <div class="continua">
    <div class="content">
      <h3>props传递参数</h3>
      <el-button @click="count += 1">修改count</el-button>
      <Children :count="count"></Children>
    </div>
  </div>
</template>

<script setup>
import Children from "@/components/05组件通讯/01-props传参/children.vue";
import {ref} from "vue";

const count = ref(1)

</script>

<style scoped lang="less">
.continua {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;

  .content {
    width: 500px;
    height: 500px;
    border: 1px solid #ccc;
  }
}
</style>
